<template>
  <div id="app">
    <headTop></headTop>
     <div @click="toPagg()">onsde</div>
            <div @click="toPaggssdfsdf()">two</div>
    <router-view></router-view>
  </div>
</template>

<script>
import headTop from './views/headTop/headTop.vue'
import { ipcRenderer } from "electron";


export default {
  name: 'App',
  components: {
    headTop
  },
  data(){

    return{
      IS_ELECTRON: process.env.IS_ELECTRON
    }
  },
  methods:{
      toPagg() {
      this.$router.push({path:"/individuation"})
    },
    toPaggssdfsdf() {
      console.log('sdsfsf');
      this.$router.push({path:"/allmusiclist"})
    },
    testr(){
      console.log('etest')
    },
     minimizeWin() {
      ipcRenderer.send("window-min");
    },
     maximizeWin() {
      ipcRenderer.send("window-max");
    },
     closeWin() {
      ipcRenderer.send("window-close");
    }
  }
  


}
</script>

<style >
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

</style>
